package com.yihukurama.sysbase.framework.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
import com.yihukurama.base.framework.domain.tkmapper.entity.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 说明： 
 * @Author: yihukurama
 */
@ApiModel(value="")
@Table(name="ts_image")
@Data
public class ImageEntity extends BaseEntity
{
	/**
	*是否删除 0否 1是
	**/
	@ApiModelProperty(value="是否删除 0否 1是")
	@Column(name="is_delete")
	private Integer isDelete;
	/**
	*最后修改人id
	**/
	@ApiModelProperty(value="最后修改人id")
	@Column(name="update_by")
	private String operatorId;
	/**
	*最后修改日期
	**/
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@JSONField(format="yyyy-MM-dd HH:mm:ss")@Column(name="update_time")
	private Date operateDate;
	/**
	*关联id
	**/
	@ApiModelProperty(value="关联id")
	@Column(name="relate_id")
	private String relateId;
	/**
	*创建人id
	**/
	@ApiModelProperty(value="创建人id")
	@Column(name="create_by")
	private String createBy;
	/**
	*创建时间
	**/
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@JSONField(format="yyyy-MM-dd HH:mm:ss")@Column(name="create_time")
	private Date createTime;
	/**
	*图片地址
	**/
	@ApiModelProperty(value="图片地址")
	@Column(name="file_path")
	private String filePath;
	/**
	*图片类型
	**/
	@ApiModelProperty(value="图片类型")
	@Column(name="type")
	private Integer type;
	
	

	
	
}
